import cv2

cv2.namedWindow('imgs', cv2.WINDOW_NORMAL)
img = cv2.imread("C:\\Users\\86191\\Pictures\\Saved Pictures\\Camera Roll\\kc.jpg")
while True :
    cv2.imshow('imgs', img)
    key = cv2.waitKey(0)
    if key & 0xFF == ord('q'):
        break
    elif key & 0xFF == ord('s'):
        # 保存图片
        cv2.imwrite("D:\\Chrome  Files\\123.png",img)
cv2.destroyAllWindows()